package com.study.www.service;

import org.quartz.SchedulerException;

public interface JobConfigService {

    boolean isValidExpression(String cronExpression);

    void update(Long id, String status) throws Exception;

    void updateCron(Long id, String cronSchedule) throws SchedulerException;

    void nowRunJob(Long id) throws SchedulerException;

}
